#ifndef STAGE_H
#define STAGE_H
//
#include <QWidget>
//#include <QScrollArea>
#include "attribute.h"
#include "attributesmodel.h"
//
class QTreeWidgetItem;
class QScrollArea;
//
class Stage : public QObject
{
	Q_OBJECT
	AttributesModel *_attributes;
public:
	Stage();
	void setAttributes(AttributesModel *dw);
	Attribute *attribute(int order);
	AttributesModel *attrModel();
	bool changeAttribute(int oldnom,Attribute *label,QTreeWidgetItem *item);	
signals:
	void treeUpdated(int order=0); 
};

#endif
